package com.qf.crm.dao.impl;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import com.qf.crm.dao.CustomerDao;
import com.qf.crm.dao.base.BaseDao;
import com.qf.crm.entity.Customer;

public class CustomerDaoImpl extends BaseDao<Customer> implements CustomerDao{

	@Override
	public List<Customer> getCustomerList(Connection connection, String sql, Class<Customer> clazz, Object... args) throws InstantiationException, IllegalAccessException, NoSuchFieldException, SecurityException, SQLException {
		return getList(connection, sql, clazz, args);
	}

	@Override
	public Customer getCustomer(Connection connection, String sql, Class<Customer> clazz, Object... args) throws InstantiationException, IllegalAccessException, NoSuchFieldException, SecurityException, SQLException {
		return get(connection, sql, clazz, args);
	}

}
